﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;


namespace PMS.SANY.OpenApi
{
    /// <summary>
    /// 工序组
    /// </summary>
    public class OprSequenceModel
    {
        /// <summary>
        /// *工序号
        /// </summary>
        public string OprSequenceNo { get; set; }

        /// <summary>
        /// *顺序号
        /// </summary>
        public string SequenceNo { get; set; }

        /// <summary>
        /// *工序名称
        /// </summary>
        public string OprSequenceName { get; set; }

        /// <summary>
        /// *工序类型（1、自制，2、外协）
        /// </summary>
        public string OprSequenceType { get; set; }

        /// <summary>
        /// 计划开始时间[yyyy-mm-dd hh24.mi.ss]
        /// </summary>
        public string ScheduledStartDate { get; set; }

        /// <summary>
        /// 计划结束时间
        /// </summary>
        public string ScheduledCompleteDate { get; set; }

        /// <summary>
        /// *工作中心
        /// </summary>
        public string WorkCenter { get; set; }

        /// <summary>
        /// 工作中心描述
        /// </summary>
        public string WorkCenterName { get; set; }

        /// <summary>
        /// 工位
        /// </summary>
        public string WorkStation { get; set; }

        /// <summary>
        /// 工位描述
        /// </summary>
        public string WorkStationName { get; set; }

        /// <summary>
        /// *工序状态
        /// </summary>
        public string ProgressStatus { get; set; }

        /// <summary>
        /// *工序数量
        /// </summary>
        public decimal Quantity { get; set; }

        /// <summary>
        /// *单位
        /// </summary>
        public string Unit { set; get; }

        /// <summary>
        /// 预留参数1
        /// </summary>
        public string paramRsrv1 { get; set; }

        /// <summary>
        /// 预留参数2
        /// </summary>
        public string paramRsrv2 { get; set; }

        /// <summary>
        /// 预留参数3
        /// </summary>
        public string paramRsrv3 { get; set; }


        /// <summary>
        /// 预留参数4
        /// </summary>
        public string paramRsrv4 { get; set; }

        /// <summary>
        /// 预留参数5
        /// </summary>
        public string paramRsrv5 { get; set; }


        /// <summary>
        /// 组件列表
        /// </summary>
        public List<ComponentList> ComponentList { get; set; } = new List<ComponentList>();
    }
}
